package com.lamber.framework.exception;

/**
 * 流程异常, 此异常不打印堆栈信息, 可用于流程控制
 */
public class ProcessException extends BusinessException {
    public ProcessException(String message) {
        super(message);
        super.status = 401;
    }

    public ProcessException(String message, String field) {
        super(message);
        super.status = 401;
    }

    public ProcessException(Throwable cause) {
        super(cause);
        super.status = 401;
    }

    public ProcessException(String message, int status) {
        super(message, status);
    }

    @Override
    public void printStackTrace(){

    }
}
